package com.kotlin.lib

fun main() {
    var group = 0;
    val value = arrayOf(1..10, 11..20, 21..30).flatMap {intRange ->
        group++
        intRange.map {
            "group:$group value:$it "
        }
    }.forEach {
        println(it)
    }
    val arrayOf = arrayOf(1..10, 11..20, 21..30)


//    arrayOf.fold()
}